package com.softserveinc.interactive_board.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.softserveinc.interactive_board.service.InteractiveBoardService;


@Controller
@RequestMapping("/")
public class HomeController {
	
	@RequestMapping(method = RequestMethod.GET)
	public String def() {
		return "index";
//		trunc
	}

	private InteractiveBoardService interactiveBoardService;

	@Autowired	
	@Qualifier("interactiveBoardServiceImpl")
	public void setInteractiveBoardService(InteractiveBoardService interactiveBoardService) {
		this.interactiveBoardService = interactiveBoardService;
	}

}